#!/bin/bash
# dwm-light
## dwm
mv -f $HOME/suckless/dwm/config.def.h $HOME/suckless/dwm/config.def.h.orig
ln -s $HOME/suckless/dwm/config.def.h.light $HOME/suckless/dwm/config.def.h
cd $HOME/suckless/dwm && sudo make clean install 
#ln -s $HOME/suckless/dwm/dwm.light $HOME/suckless/dwm/dwm

## st
mv -f $HOME/suckless/st/config.def.h $HOME/suckless/st/config.def.h.orig
ln -s $HOME/suckless/st/config.def.h.light $HOME/suckless/st/config.def.h
cd $HOME/suckless/st && sudo make clean install 

## alacritty
mv -f $HOME/.config/alacritty/alacritty.yml $HOME/.config/alacritty/alacritty.yml.orig
ln -s $HOME/.config/alacritty/alacritty.yml.light $HOME/.config/alacritty/alacritty.yml

## rofi
mv -f $HOME/.config/rofi/config.rasi $HOME/.config/rofi/config.rasi.orig
ln -s $HOME/.config/rofi/config.rasi.light $HOME/.config/rofi/config.rasi

## wallpaper
feh --bg-fill $HOME/Pictures/wallpapers/light.jpg  $HOME/Pictures/wallpapers/day.jpg
